package com.zrar.ak.gkpt.base;


import com.zrar.ak.gkpt.dao.IBusinessDataSyncDao;
import com.zrar.ak.gkpt.jpa.User;
import com.zrar.ak.gkpt.jpa.UserRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Resource;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.Month;

@Configuration
@Slf4j
public class TestRunner {
    @Resource
    IBusinessDataSyncDao dataSyncDao;
    @Resource
    UserRepository userRepository;

    @Bean
    CommandLineRunner test(){
        return args -> {
//            log.info("got all datas {}", dataSyncDao.getAllUsers());
//            log.info("jpa got all users : {}", userRepository.findAll());
        };
    }
}
